﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using JTLeigh.Commerce.Spencer.Features.ProductImages.Common.Entities;

namespace JTLeigh.Commerce.Spencer.Features.ProductImages.Common.UnitTests.Entities
{

	/// <summary>
	/// Unit tests for the <see cref="ProductImageView"/> class.
	/// </summary>
	[TestClass]
	public class ProductImageViewFixture
	{

		#region Constructors

		/// <summary>
		/// Ensures the default constructor initializes the localizations collection.
		/// </summary>
		[TestMethod]
		public void TestConstructor()
		{
			ProductImageView view;

			view = new ProductImageView();
			Assert.IsNotNull(view.Localizations);
			Assert.AreEqual(0, view.Localizations.Count);
		}

		#endregion // Constructors

	}

}
